import request from '@/utils/request'
// 获得草稿箱分页
export function getDraftBoxPage(params: any) {
  return request({
    url: '/project/draft-box/page',
    method: 'get',
    params,
  })
}

// 获得草稿箱明细
export function getDraftBoxGetDetails(params: any) {
  return request({
    url: '/project/draft-box/get',
    method: 'get',
    params,
  })
}

// 保存草稿
export function postDraftBoxCreate(params: any) {
  return request({
    url: '/project/draft-box/create',
    method: 'post',
    data: params,
  })
}
